﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    /// <summary>
    /// 蝙蝠战车
    /// </summary>
    class Batmobile:Car,IFly
    {
        public Batmobile(string brand,string type):base(brand,type)
        {

        }

        public void Fly()
        {
            Console.WriteLine("一辆品牌是{0}，型号是{1}的车在飞行", base.Brand, this.Type);
        }
    }
}
